package org.seedframework.sharding.annotations;


import org.seedframework.sharding.strategy.VoidScatterStrategy;
import java.lang.annotation.*;



@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Inherited
public @interface Scatter {

    /**
     * Sharding key name
     *
     * <p>data distributed by this key</p>
     */
    String key() default "";

    /**
     * Sharding strategy
     */
    Class<?> strategy() default VoidScatterStrategy.class;


}
